package com.vstudy.zx.entity;

import java.io.Serializable;

public class Practise implements Serializable {
    private Long practise_id;
    private String practise_title;
    private String practise_answer;
    private Outline outline;
    private Teacher author;
    private Long article_zan;
    private Long article_read_count;
    private Integer article_deleted;

    public Long getPractise_id() {
        return practise_id;
    }

    public void setPractise_id(Long practise_id) {
        this.practise_id = practise_id;
    }

    public String getPractise_title() {
        return practise_title;
    }

    public void setPractise_title(String practise_title) {
        this.practise_title = practise_title;
    }

    public String getPractise_answer() {
        return practise_answer;
    }

    public void setPractise_answer(String practise_answer) {
        this.practise_answer = practise_answer;
    }

    public Outline getOutline() {
        return outline;
    }

    public void setOutline(Outline outline) {
        this.outline = outline;
    }

    public Teacher getAuthor() {
        return author;
    }

    public void setAuthor(Teacher author) {
        this.author = author;
    }

    public Long getArticle_zan() {
        return article_zan;
    }

    public void setArticle_zan(Long article_zan) {
        this.article_zan = article_zan;
    }

    public Long getArticle_read_count() {
        return article_read_count;
    }

    public void setArticle_read_count(Long article_read_count) {
        this.article_read_count = article_read_count;
    }

    public Integer getArticle_deleted() {
        return article_deleted;
    }

    public void setArticle_deleted(Integer article_deleted) {
        this.article_deleted = article_deleted;
    }

    @Override
    public String toString() {
        return "Practise{" +
                "practise_id=" + practise_id +
                ", practise_title='" + practise_title + '\'' +
                ", practise_answer='" + practise_answer + '\'' +
                ", outline=" + outline +
                ", author=" + author +
                ", article_zan=" + article_zan +
                ", article_read_count=" + article_read_count +
                ", article_deleted=" + article_deleted +
                '}';
    }
}
